package com.my.hotel.service.impl;

import com.my.hotel.entity.User;
import com.my.hotel.mapper.ClientMapper;
import com.my.hotel.service.ClientService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class ClientServiceImpl implements ClientService {

    @Autowired
    private ClientMapper clientMapper;

    public List<User> getClientList(String role_name) {
        return clientMapper.getClientList(role_name);
    }
}
